package com.ruoyi.system.vo;

import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 用户报表
 */
public class SysUserReportRes extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private BigDecimal balance;

    private BigDecimal freezeBalance;

    private Integer userCode;

    private String loginName;

    private BigDecimal orderAmount;

    private BigDecimal orderLastAmount;

    private BigDecimal orderCharge;

    private BigDecimal withdrawAmount;

    private BigDecimal withdrawCharge;

    private BigDecimal agentCommission;

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getFreezeBalance() {
        return freezeBalance;
    }

    public void setFreezeBalance(BigDecimal freezeBalance) {
        this.freezeBalance = freezeBalance;
    }

    public Integer getUserCode() {
        return userCode;
    }

    public void setUserCode(Integer userCode) {
        this.userCode = userCode;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getOrderLastAmount() {
        if (orderLastAmount==null){
            orderAmount = BigDecimal.ZERO;
        }
        return orderLastAmount;
    }

    public void setOrderLastAmount(BigDecimal orderLastAmount) {
        this.orderLastAmount = orderLastAmount;
    }

    public BigDecimal getOrderCharge() {
        if (orderCharge==null){
            orderCharge = BigDecimal.ZERO;
        }
        return orderCharge;
    }

    public void setOrderCharge(BigDecimal orderCharge) {
        this.orderCharge = orderCharge;
    }

    public BigDecimal getWithdrawAmount() {
        if (withdrawAmount==null){
            withdrawAmount = BigDecimal.ZERO;
        }
        return withdrawAmount;
    }

    public void setWithdrawAmount(BigDecimal withdrawAmount) {
        this.withdrawAmount = withdrawAmount;
    }

    public BigDecimal getWithdrawCharge() {
        if (withdrawCharge==null){
            withdrawCharge = BigDecimal.ZERO;
        }
        return withdrawCharge;
    }

    public void setWithdrawCharge(BigDecimal withdrawCharge) {
        this.withdrawCharge = withdrawCharge;
    }

    public BigDecimal getAgentCommission() {
        if (agentCommission==null){
            agentCommission = BigDecimal.ZERO;
        }
        return agentCommission;
    }

    public void setAgentCommission(BigDecimal agentCommission) {
        this.agentCommission = agentCommission;
    }
}
